﻿using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using ProductionManage.Models.Products;
using Volo.Abp.Domain.Repositories;

namespace wangyaxin.Web.ZdController
{
    public class MdItemTypeController : Controller
    {
        private readonly IRepository<ProductType, int> _ProductTypeRepository;
        private readonly IMapper _mapper;//依赖注入 IMapper
        public MdItemTypeController(IRepository<ProductType, int> productTypeRepository, IMapper mapper)
        {
            _ProductTypeRepository = productTypeRepository;
            _mapper = mapper;
        }
        public IActionResult Index()
        {
            return View();
        }

        /// <summary>
        /// 物料显示分类
        /// </summary>
        /// <returns></returns>
        public IActionResult ShowMdItemType()
        {
            return View();
        }
    }
}
